<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
<head>
  <%-- We rely on tiles-defs.xml to set the title --%>
  <title>TP1 - Hulin - Trebern</title>
  <html:base/>
</head>
<body>

<table bgcolor="#9AFF9A" cellspacing="0" cellpadding="10" border="1"
       width="100%">
<tr>
  <td>
    <table cellspacing="0" cellpadding="0" border="0" width="100%">
    <tr bgcolor="#696969">
      <td align="center">
        <font color="#FFFFFF"><bean:message key="app.title.input" /></font>
      </td>
    </tr>
    <tr>
      <td>
        <br>
        <html:errors/>
        <html:form action="/profileInput.do" focus="firstName">
          <center>
          <table>
          <tr>
            <td><bean:message key="app.firstName" />:</td>
            <td><html:text property="firstName" size="20"/></td>
          </tr>
          <tr>
            <td><bean:message key="app.lastName" />:</td>
            <td><html:text property="lastName" size="20"/></td>
          </tr>
          <tr>
            <td><bean:message key="app.favoriteColor" />:</td>
            <td><html:text property="favoriteColor" size="20"/></td>
          </tr>
          <tr>
            <td><bean:message key="app.birthdate" />:</td>
            <td><html:text property="birthdate" size="20"/></td>
          </tr>
          <tr>
            <td><bean:message key="app.adress" />:</td>
            <td><html:text property="adress" size="40"/></td>
          </tr>
          <tr>
            <td><bean:message key="app.phone" />:</td>
            <td><html:text property="phone" size="10"/></td>
          </tr>
          </table>
            <html:submit property="submitProperty"><bean:message key="app.submit" /></html:submit>
          </center>
        </html:form>
      </td>
    </tr>
    </table>
  </td>
</tr>
</table>
</body>
</html:html>